<?php
return array(
	'attributeLabels'=>array(
		'web_id'=>'所属网站',
		'create_time'=>'留言时间',
	),
	
	'cascade' => array(
		'profile',
	),

	'relations' => array(
		'website'=>array(CActiveRecord::BELONGS_TO,'Website','web_id'),
		'profile' => array(ActiveRecord::HAS_ONE, 'WebMessageProfile', 'id'),
	),
	
	'tableName'=>'web_notice',
	
	'_import' => array(
		array('*', 'models.ContentBase//*'),
	),
);